README for replication package for analysis reported in: Fuster, Perez-Truglia, Wiederholt, and Zafar, “Expectations with Endogenous Information Acquisition: An Experimental Investigation”

There are two folders: 

1) "Body and Appendix A": it covers all the tables/figures reported in the body of the paper as well as Appendix A.

This folders should contain the subfolders ‘Data’, ‘Code’, and ‘Output’ (this one should be empty at the beginning of the replication). 

"Prepare and Analyze Data.do" (in ‘Code’) generates all the figures and tables reported in the body of the paper and in Appendix A. Before running the file, the folder path needs to be changed in 
"Prepare and Analyze Data.do" as well as the local ‘mac’ set accordingly. Also, a few Stata packages may need to be installed.

The do-file calls several datasets that should be in the ‘Data’ subfolder. 

2) "Appendix B": it covers all the tables/figures reported in Appendix B (and based in the supplemental survey).

This folders should contain the subfolders ‘Data’, ‘Code’, and ‘Output’ (this one should be empty at the beginning of the replication). 

"SuppAnalysis.do" (in ‘Code’) generates Figure B.1 and Tables B.1 and B.2 reported in Appendix B. Before running the file, the folder path needs to be changed in SuppAnalysis.do as well as the local ‘mac’ set accordingly. Also, a few Stata packages may need to be installed.

The do-file calls the dataset ‘SuppData.dta’ that should be in the ‘Data’ subfolder. 

This folder also includes the pdf of the survey instrument which shows the question wording is ‘SuppSurveyInstrument_Nielsen’. 